<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libschc: schc.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libschc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">schc.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="schc__config_8h_source.html">schc_config.h</a>&quot;</code><br />
</div>
<p><a href="schc_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__bitarray__t.html">schc_bitarray_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__field.html">schc_field</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__ipv6__rule__t.html">schc_ipv6_rule_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__udp__rule__t.html">schc_udp_rule_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__layer__rule__t.html">schc_layer_rule_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__compression__rule__t.html">schc_compression_rule_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__rule__t.html">schc_rule_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__device.html">schc_device</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structschc__udpip__hdr.html">schc_udpip_hdr</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a5e211e5d295f6e70dee42f3083f89e71"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a5e211e5d295f6e70dee42f3083f89e71">UDP_HLEN</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:a5e211e5d295f6e70dee42f3083f89e71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4c1dc527be76d8f27591dfb726c023"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#afb4c1dc527be76d8f27591dfb726c023">IP6_HLEN</a>&#160;&#160;&#160;40</td></tr>
<tr class="separator:afb4c1dc527be76d8f27591dfb726c023"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee02bb425cd8b2d526378e84db80752f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#aee02bb425cd8b2d526378e84db80752f">WINDOW_SIZE_BITS</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:aee02bb425cd8b2d526378e84db80752f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63504215b1f5f5190353b62949d05635"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a63504215b1f5f5190353b62949d05635">MIC_C_SIZE_BITS</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a63504215b1f5f5190353b62949d05635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab264125e090b773a3c62c0587e2311f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#ab264125e090b773a3c62c0587e2311f3">RULE_SIZE_BYTES</a>&#160;&#160;&#160;(<a class="el" href="schc__config__example_8h.html#a1560def0a5925468e7ea4e33c1f66203">RULE_SIZE_BITS</a> / 8)</td></tr>
<tr class="separator:ab264125e090b773a3c62c0587e2311f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cab569df576271706014d87c13a7845"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a3cab569df576271706014d87c13a7845">DTAG_SIZE_BYTES</a>&#160;&#160;&#160;((<a class="el" href="schc__config__example_8h.html#a1560def0a5925468e7ea4e33c1f66203">RULE_SIZE_BITS</a> + <a class="el" href="schc__config__example_8h.html#ac24f6aea575e391494ab29765ee389bf">DTAG_SIZE_BITS</a>) / 8) + 1</td></tr>
<tr class="separator:a3cab569df576271706014d87c13a7845"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4b2bf43d4261b6afafc22d4d095092"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#afb4b2bf43d4261b6afafc22d4d095092">WINDOW_SIZE_BYTES</a>&#160;&#160;&#160;((<a class="el" href="schc__config__example_8h.html#a1560def0a5925468e7ea4e33c1f66203">RULE_SIZE_BITS</a> + <a class="el" href="schc__config__example_8h.html#ac24f6aea575e391494ab29765ee389bf">DTAG_SIZE_BITS</a> + <a class="el" href="schc_8h.html#aee02bb425cd8b2d526378e84db80752f">WINDOW_SIZE_BITS</a>) / 8) + 1</td></tr>
<tr class="separator:afb4b2bf43d4261b6afafc22d4d095092"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aeee2afb2e83587e59f955f4c7af74e07"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structschc__bitarray__t.html">schc_bitarray_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#aeee2afb2e83587e59f955f4c7af74e07">schc_bitarray_t</a></td></tr>
<tr class="separator:aeee2afb2e83587e59f955f4c7af74e07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ae12886f8a1d1bcc5dadfa632050677"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a>[16]</td></tr>
<tr class="separator:a7ae12886f8a1d1bcc5dadfa632050677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a871e6877df8d1bf5f1d0690d6b918f6b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a871e6877df8d1bf5f1d0690d6b918f6b">schc_ipaddr_t</a></td></tr>
<tr class="separator:a871e6877df8d1bf5f1d0690d6b918f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a99f26e6ee9fcd62f75203b5402df8098"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098">direction</a> { <a class="el" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aba595d8bca8bc5e67c37c0a9d89becfa">UP</a> = 0, 
<a class="el" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098a9b0b4a95b99523966e0e34ffdadac9da">DOWN</a> = 1, 
<a class="el" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aa6faa6cc2b54e7dabf207ad5d989e49b">BI</a> = 2
 }</td></tr>
<tr class="separator:a99f26e6ee9fcd62f75203b5402df8098"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e43f38d5254d1e3bbf1d0955eb98ce4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4">CDA</a> { <br />
&#160;&#160;<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ad6773d0a545d63251612fcd331aedb83">NOTSENT</a> = 0, 
<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a75a19a84697dffabb0bedafeff40ffcc">VALUESENT</a> = 1, 
<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4afe73a1b760f465a54ad7244bfe3d719d">MAPPINGSENT</a> = 2, 
<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ac8bd62065abff19ea8ce3ec18cf3d6fe">LSB</a> = 3, 
<br />
&#160;&#160;<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a7e32821d42dbaeb712ced531ee118153">COMPLENGTH</a> = 4, 
<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a666ff0fbe192b386d46e502fc990ce2f">COMPCHK</a> = 5, 
<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4af2f71f1d6b980ffce7facf81da9d38b0">DEVIID</a> = 6, 
<a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4accda58d5f1e00c63e2b59ae98965b7ab">APPIID</a> = 7
<br />
 }</td></tr>
<tr class="separator:a3e43f38d5254d1e3bbf1d0955eb98ce4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6a26bb50f32ca8810179e894e284ea0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0">schc_layer_t</a> { <a class="el" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a0c11d2df909aba3545ce3f9a0f622af4">SCHC_IPV6</a> = 0, 
<a class="el" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a466b02e6c39f7b06862f76585c085935">SCHC_UDP</a> = 1, 
<a class="el" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a4f3573a26989d766758cb30328fd9ca2">SCHC_COAP</a> = 2
 }</td></tr>
<tr class="separator:ac6a26bb50f32ca8810179e894e284ea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00b61f9b90ab7065eb6a978141d7fd34"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34">reliability_mode</a> { <a class="el" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ada1056992e11c334d2416de8b75543f7">ACK_ALWAYS</a> = 1, 
<a class="el" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34abb669910db44bb35ca22cfa0987cff5f">ACK_ON_ERROR</a> = 2, 
<a class="el" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34a0344f277cbdd16e3f0ea0ff1d1be1b17">NO_ACK</a> = 3, 
<a class="el" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ae3a1895856e19a3160bcf36ea0712e79">NOT_FRAGMENTED</a> = 4
 }</td></tr>
<tr class="separator:a00b61f9b90ab7065eb6a978141d7fd34"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9991f6ae222b8d657ebb0e0b162ea282"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a9991f6ae222b8d657ebb0e0b162ea282">equal</a> (struct <a class="el" href="structschc__field.html">schc_field</a> *target_field, unsigned char *field_value, uint16_t field_offset)</td></tr>
<tr class="separator:a9991f6ae222b8d657ebb0e0b162ea282"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394540a77045dcb0230079435b631960"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a394540a77045dcb0230079435b631960">ignore</a> (struct <a class="el" href="structschc__field.html">schc_field</a> *target_field, unsigned char *field_value, uint16_t field_offset)</td></tr>
<tr class="separator:a394540a77045dcb0230079435b631960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd91def21b62074e08368e9bb11593d5"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#abd91def21b62074e08368e9bb11593d5">MSB</a> (struct <a class="el" href="structschc__field.html">schc_field</a> *target_field, unsigned char *field_value, uint16_t field_offset)</td></tr>
<tr class="separator:abd91def21b62074e08368e9bb11593d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5371dbc9847ed58dc760b7f028ea14e9"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="schc_8h.html#a5371dbc9847ed58dc760b7f028ea14e9">matchmap</a> (struct <a class="el" href="structschc__field.html">schc_field</a> *target_field, unsigned char *field_value, uint16_t field_offset)</td></tr>
<tr class="separator:a5371dbc9847ed58dc760b7f028ea14e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a3cab569df576271706014d87c13a7845"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cab569df576271706014d87c13a7845">&#9670;&nbsp;</a></span>DTAG_SIZE_BYTES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DTAG_SIZE_BYTES&#160;&#160;&#160;((<a class="el" href="schc__config__example_8h.html#a1560def0a5925468e7ea4e33c1f66203">RULE_SIZE_BITS</a> + <a class="el" href="schc__config__example_8h.html#ac24f6aea575e391494ab29765ee389bf">DTAG_SIZE_BITS</a>) / 8) + 1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afb4c1dc527be76d8f27591dfb726c023"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb4c1dc527be76d8f27591dfb726c023">&#9670;&nbsp;</a></span>IP6_HLEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IP6_HLEN&#160;&#160;&#160;40</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a63504215b1f5f5190353b62949d05635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63504215b1f5f5190353b62949d05635">&#9670;&nbsp;</a></span>MIC_C_SIZE_BITS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MIC_C_SIZE_BITS&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab264125e090b773a3c62c0587e2311f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab264125e090b773a3c62c0587e2311f3">&#9670;&nbsp;</a></span>RULE_SIZE_BYTES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RULE_SIZE_BYTES&#160;&#160;&#160;(<a class="el" href="schc__config__example_8h.html#a1560def0a5925468e7ea4e33c1f66203">RULE_SIZE_BITS</a> / 8)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5e211e5d295f6e70dee42f3083f89e71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e211e5d295f6e70dee42f3083f89e71">&#9670;&nbsp;</a></span>UDP_HLEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UDP_HLEN&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aee02bb425cd8b2d526378e84db80752f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee02bb425cd8b2d526378e84db80752f">&#9670;&nbsp;</a></span>WINDOW_SIZE_BITS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WINDOW_SIZE_BITS&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afb4b2bf43d4261b6afafc22d4d095092"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb4b2bf43d4261b6afafc22d4d095092">&#9670;&nbsp;</a></span>WINDOW_SIZE_BYTES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WINDOW_SIZE_BYTES&#160;&#160;&#160;((<a class="el" href="schc__config__example_8h.html#a1560def0a5925468e7ea4e33c1f66203">RULE_SIZE_BITS</a> + <a class="el" href="schc__config__example_8h.html#ac24f6aea575e391494ab29765ee389bf">DTAG_SIZE_BITS</a> + <a class="el" href="schc_8h.html#aee02bb425cd8b2d526378e84db80752f">WINDOW_SIZE_BITS</a>) / 8) + 1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="aeee2afb2e83587e59f955f4c7af74e07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeee2afb2e83587e59f955f4c7af74e07">&#9670;&nbsp;</a></span>schc_bitarray_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structschc__bitarray__t.html">schc_bitarray_t</a> <a class="el" href="structschc__bitarray__t.html">schc_bitarray_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7ae12886f8a1d1bcc5dadfa632050677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ae12886f8a1d1bcc5dadfa632050677">&#9670;&nbsp;</a></span>schc_ip6addr_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef uint8_t schc_ip6addr_t[16]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a871e6877df8d1bf5f1d0690d6b918f6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a871e6877df8d1bf5f1d0690d6b918f6b">&#9670;&nbsp;</a></span>schc_ipaddr_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a> <a class="el" href="schc_8h.html#a871e6877df8d1bf5f1d0690d6b918f6b">schc_ipaddr_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a3e43f38d5254d1e3bbf1d0955eb98ce4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e43f38d5254d1e3bbf1d0955eb98ce4">&#9670;&nbsp;</a></span>CDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4">CDA</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4ad6773d0a545d63251612fcd331aedb83"></a>NOTSENT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4a75a19a84697dffabb0bedafeff40ffcc"></a>VALUESENT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4afe73a1b760f465a54ad7244bfe3d719d"></a>MAPPINGSENT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4ac8bd62065abff19ea8ce3ec18cf3d6fe"></a>LSB&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4a7e32821d42dbaeb712ced531ee118153"></a>COMPLENGTH&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4a666ff0fbe192b386d46e502fc990ce2f"></a>COMPCHK&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4af2f71f1d6b980ffce7facf81da9d38b0"></a>DEVIID&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3e43f38d5254d1e3bbf1d0955eb98ce4accda58d5f1e00c63e2b59ae98965b7ab"></a>APPIID&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<a id="a99f26e6ee9fcd62f75203b5402df8098"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99f26e6ee9fcd62f75203b5402df8098">&#9670;&nbsp;</a></span>direction</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098">direction</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a99f26e6ee9fcd62f75203b5402df8098aba595d8bca8bc5e67c37c0a9d89becfa"></a>UP&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a99f26e6ee9fcd62f75203b5402df8098a9b0b4a95b99523966e0e34ffdadac9da"></a>DOWN&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a99f26e6ee9fcd62f75203b5402df8098aa6faa6cc2b54e7dabf207ad5d989e49b"></a>BI&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<a id="a00b61f9b90ab7065eb6a978141d7fd34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00b61f9b90ab7065eb6a978141d7fd34">&#9670;&nbsp;</a></span>reliability_mode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34">reliability_mode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a00b61f9b90ab7065eb6a978141d7fd34ada1056992e11c334d2416de8b75543f7"></a>ACK_ALWAYS&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a00b61f9b90ab7065eb6a978141d7fd34abb669910db44bb35ca22cfa0987cff5f"></a>ACK_ON_ERROR&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a00b61f9b90ab7065eb6a978141d7fd34a0344f277cbdd16e3f0ea0ff1d1be1b17"></a>NO_ACK&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a00b61f9b90ab7065eb6a978141d7fd34ae3a1895856e19a3160bcf36ea0712e79"></a>NOT_FRAGMENTED&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<a id="ac6a26bb50f32ca8810179e894e284ea0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6a26bb50f32ca8810179e894e284ea0">&#9670;&nbsp;</a></span>schc_layer_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0">schc_layer_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ac6a26bb50f32ca8810179e894e284ea0a0c11d2df909aba3545ce3f9a0f622af4"></a>SCHC_IPV6&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6a26bb50f32ca8810179e894e284ea0a466b02e6c39f7b06862f76585c085935"></a>SCHC_UDP&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ac6a26bb50f32ca8810179e894e284ea0a4f3573a26989d766758cb30328fd9ca2"></a>SCHC_COAP&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a9991f6ae222b8d657ebb0e0b162ea282"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9991f6ae222b8d657ebb0e0b162ea282">&#9670;&nbsp;</a></span>equal()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint8_t equal </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structschc__field.html">schc_field</a> *&#160;</td>
          <td class="paramname"><em>target_field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>field_value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>field_offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a394540a77045dcb0230079435b631960"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a394540a77045dcb0230079435b631960">&#9670;&nbsp;</a></span>ignore()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint8_t ignore </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structschc__field.html">schc_field</a> *&#160;</td>
          <td class="paramname"><em>target_field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>field_value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>field_offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5371dbc9847ed58dc760b7f028ea14e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5371dbc9847ed58dc760b7f028ea14e9">&#9670;&nbsp;</a></span>matchmap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint8_t matchmap </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structschc__field.html">schc_field</a> *&#160;</td>
          <td class="paramname"><em>target_field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>field_value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>field_offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="abd91def21b62074e08368e9bb11593d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd91def21b62074e08368e9bb11593d5">&#9670;&nbsp;</a></span>MSB()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint8_t MSB </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structschc__field.html">schc_field</a> *&#160;</td>
          <td class="paramname"><em>target_field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>field_value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>field_offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
